package com.lfnyxy.dao;

import com.lfnyxy.dto.DropVo;
import com.lfnyxy.entity.NewsTypeEntity;import com.lfnyxy.query.NewsTypeQuery;import org.apache.ibatis.annotations.Param;import java.util.List;/** * Created by ted on 17/5/8. */public interface NewsTypeDao {     int CreateItem(NewsTypeEntity entity);     int UpdateItem(NewsTypeEntity entity);     List<NewsTypeEntity> QueryPageList(NewsTypeQuery query);     List<NewsTypeEntity> QueryAll();	      int QueryPageListCount(NewsTypeQuery query);     int CheckIsExist(NewsTypeEntity entity);     NewsTypeEntity QueryItem(int Id);     int DeleteItem(int Id);

    List<DropVo> QueryDrop(NewsTypeQuery query);
}